package com.harmontronics.hanma.paas.paas.consts;

/** @ClassName : NumberEnum @Description : 数字枚举 @Author : Alex @Date: 2020-03-12 14:41 */
public enum NumberEnum {
  ZERO(0, 0L, "0", "zero", "ZERO"),
  ONE(1, 1L, "1", "one", "ONE"),
  TWO(2, 2L, "2", "two", "TWO"),
  THREE(3, 3L, "3", "three", "THREE"),
  FOUR(4, 4L, "4", "four", "FOUR"),
  FIVE(5, 5L, "5", "five", "FIVE"),
  SIX(6, 6L, "6", "six", "SIX"),
  SEVEN(7, 7L, "7", "seven", "SEVEN"),
  EIGHT(8, 8L, "8", "eight", "EIGHT"),
  NINE(9, 9L, "9", "nine", "NINE"),
  TEN(10, 10L, "10", "ten", "TEN");

  private int num;
  private Long numLong;
  private String numStr;
  private String numLower;
  private String numUpper;

  NumberEnum(int num, long numLong, String numStr, String numLower, String numUpper) {
    this.num = num;
    this.numLong = numLong;
    this.numStr = numStr;
    this.numLower = numLower;
    this.numUpper = numUpper;
  }

  public int getNum() {
    return num;
  }

  public Integer getNumInteger() {
    return Integer.getInteger(this.getNumStr());
  }

  public Long getNumLong() {
    return numLong;
  }

  public String getNumStr() {
    return numStr;
  }

  public String getNumLower() {
    return numLower;
  }

  public String getNumUpper() {
    return numUpper;
  }
}
